<%@ page language="java" import="java.util.*" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@include file="/common/taglibs.jsp" %>
<div class="left-bar">
	<div class="personer" id="ownItem">
		<div class="personer-projects item" data-toggle="fold">
			<c:if test="${user.type==2 }"><i class="fileicon iconfont icon-weibiaoti1"></i>我的项目</c:if>
			<c:if test="${user.type==1 }"><i class="fileicon-copy iconfont icon-loucengpingmiantu"></i>微投网项目</c:if>
			<span class="iconfold iconfont icon-zuoyoujiantouicon10024"></span>
		</div>
		<a class="btn-block item allItem active">全部（${allDataCount }）</a>
			<c:forEach items="${statisProgress }" var="statisProgressOne">
	            	<a class="btn-block item progress-key">
	            		<i class="progress-name" data-value='${statisProgressOne[0] }' data-toggle="tooltip" title='${statisProgressOne[1] }'>
	            			<i class="iconfont icon-geren"></i>${statisProgressOne[1] }
	            		</i>（<i class="progress-count">${statisProgressOne[2] }</i>）
	                	<c:if test="${statisProgressOne[0] != 0 }">
		                	<span>
		            			<i class="btn-tinge edit-progress" data-toggle="modal" data-target="#change-progress-modal">修改</i>
		            			<i class="iconfont icon-shanchu del-progress btn-tinge"></i>
		            		</span>
		            		<!--<p class="pull-right btn-select iconfont icon-zhankai">
           						<span>
           							<i class="edit">修改进度名称</i>
           							<i class="del">删除进度</i>
           						</span>
           					</p>-->
	                	</c:if>
	            	</a>
			</c:forEach>
	</div>
	<c:if test="${user.type==2&&parentUser!=null }">
		<div class="left-bar-item" id="parentItem">
    		<div class="vc-projects item" data-toggle="fold">
    			<i class="fileicon-copy iconfont icon-loucengpingmiantu"></i>微投网项目
    			<span class="iconfold iconfont icon-zuoyoujiantouicon10024"></span>
    		</div>
    		<a class="btn-block item allItem">全部（${parentAllDataCount }）</a>
    		<c:forEach items="${parentStaticProgress }" var="parentStaticProgress">
            	<a class="btn-block item progress-key">
            		<i class="progress-name" data-value='${parentStaticProgress[0] }' data-toggle="tooltip" title='${parentStaticProgress[1] }'>
            			<i class="iconfont icon-rongyu"></i>${parentStaticProgress[1] }
            		</i>（${parentStaticProgress[2] }）
            	</a>
    		</c:forEach>	
    	</div>
	</c:if>
	<a class="btn-block new-progress text-center" data-toggle="modal" data-target="#add-progress-modal"><i class="iconfont icon-tianjia"></i>&nbsp;新增进度</a>
</div>
